Modifications for the Aqua-Soft v4 IPB 2.3.x Skin
www.aqua-soft.org
Note: Skin is intended for IPB 2.3.x, and is NOT compatible with previous versions of IPB.
This skin is still a work in progress. Please report any bugs / un-skinned elements of the site to me as soon as possible. You can do so here. Aqua-Soft Skin Discussion
//-----------------------------------------
// NAVIGATION
//-----------------------------------------
$nav = $this->ipsclass->compiled_templates['skin_global']->start_nav();
$nav .= "{$this->ipsclass->vars['board_name']}";
if ( empty($output_array['OVERRIDE']) )
{
if ( isset($output_array['NAV']) AND is_array( $output_array['NAV'] ) )
{
foreach ($output_array['NAV'] as $n)
{
if ($n)
{
$nav .= "<{F_NAV_SEP}>" . $n;
}
}
}
}
$nav .= $this->ipsclass->compiled_templates['skin_global']->end_nav();
Replace with the following, change your "_setid"" in the following bit to reflect what the aqua-soft skin id is.
//-----------------------------------------
// NAVIGATION
//-----------------------------------------
$nav = $this->ipsclass->compiled_templates['skin_global']->start_nav();
if ( empty($output_array['OVERRIDE']) )
{
if ( isset($output_array['NAV']) AND is_array( $output_array['NAV'] ) )
{
$count = count($output_array['NAV']);
if ($count > 0 && $this->ipsclass->skin['_setid']=='4')
{
$nav .= "';
}
}
else {
$nav .= "<{F_NAV_SEP}>" . $n;
}
}
}
}
}
elseif ($this->ipsclass->skin['_setid']=='4')
{
$nav .= "";
}
else
{
$nav .= "{$this->ipsclass->vars['board_name']}";
}
}
elseif ($this->ipsclass->skin['_setid']=='4')
{
$nav .= "";
}
else
{
$nav .= "{$this->ipsclass->vars['board_name']}";
}
$nav .= $this->ipsclass->compiled_templates['skin_global']->end_nav();
$this->output .= $this->render_entry( $topic );Before that Add the following
$topic['displayorder'] = $total_topics_printed;Find the following (around line 1596)
$classposts = "row2";After that Add the following
$topic['alternate'] = ($topic['displayorder'] % 2) ? "alt2" : "alt1";
$forum_data['last_unread'] = isset($forum_data['last_unread'] ) ? $forum_data['last_unread'] : '';After that Add the following
$i++; $forum_data['alternate'] = ($i % 2) ? "alt2" : "alt1";Find the following (around line 381)
$forum_data['last_unread'] = isset($forum_data['last_unread']) ? $forum_data['last_unread'] : '';After that Add the following
$i++; $forum_data['alternate'] = ($i % 2) ? "alt2" : "alt1";
For Skin updates and support check out the Aqua-Soft Skin Discussion. You may also e-mail me or catch me on msn at Tim@vastyles.com, and I will try to help you as much as I can with this skin.
Thanks again for purchasing this skin, its really appreciated.
Tim Kimberl